package cn.com.headfree;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.RestController;

/**  
 * @Title  HumanManageMicroappApplication.java   
 * @Package cn.com.headfree   
 * @Description 微应用启动类
 * @author yangwang 
 * @date  2020年7月7日 下午4:06:36   
 */
@EnableDiscoveryClient
@EnableFeignClients
@RestController
@ServletComponentScan
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
public class HumanManageMicroappApplication {

	public static void main(String[] args) {
		 SpringApplication.run(HumanManageMicroappApplication.class, args);
	}

}
